import "./assets/main.css";
import "element-plus/dist/index.css";
import { createApp } from "vue";
import App from "./App.vue";
import microApp from "@micro-zoe/micro-app";

// 初始化micro-app
microApp.start();

createApp(App).mount("#app");

window.microApp = microApp;
microApp.addDataListener("app1", (data) => {
  console.log("来自子应用my-app的数据", data);

  return "返回值1";
});
